package com.honeycomb.common;

import com.honeycomb.utils.SystemTools;

public class ResourceManager {
	
	private static long id_counter = 1; 
	
	public static String generateStringID() {
		return SystemTools.getUUIDString();
	}
	
	public static long generateNumberID() {
		if (id_counter == Long.MAX_VALUE) {
			id_counter = 1;
		}
		
		return id_counter++;
	}

}

